package au.chao.main;

import java.util.ArrayList;

public class BillDataLoader {

	public static final String WATER = "Water";
	public static final String ELECTRICITY = "Electricity";
	public static final String GASS = "Gass";
	public static final String TELEPHONE = "Telephone";
	public static final String BROADBAND = "BroadBand";
	
	public static String [][]row = {{"Electricity","ANG","01/7/2007","01/8/2007","230"},
									{"Gass","ING","11/7/2007","11/8/2007","90"},
									{"BroadBand","TPG","1/7/2007","01/8/2007","85"},
									};
	
	public static ArrayList<Bill> getBills(){
		ArrayList<Bill> aryBill = new ArrayList<Bill>();
		for(int i=0; i<row.length;i++){
			Bill tmpBill = new Bill(row[i][0],row[i][1],row[i][2],row[i][3],Long.valueOf((String)(row[i][4])));
			aryBill.add(tmpBill);
		}
		return aryBill;
	}
	
	public static String[] loadBillType(){
		
		return new String[]{WATER,ELECTRICITY, GASS, TELEPHONE, BROADBAND };
	}
}
